﻿<UserControl x:Class="AgilePlannerDT.Display.CustomWidgets.JoinDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    
    <Border CornerRadius="15" Style="{DynamicResource GradientBlackToGrayBorder}">
        <Grid Name="joinGrid">
            <Grid.RowDefinitions>
                <RowDefinition Height="30"/>
                <RowDefinition Height="50"/>
                <RowDefinition Height="50"/>
                <RowDefinition Height="50"/>
                <RowDefinition Height="40"/>
                <RowDefinition Height="15"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="300" />
                <ColumnDefinition Width="150" />
            </Grid.ColumnDefinitions>

            <ComboBox Grid.Row="1" Grid.Column="0" Name="serverUriComboBox" Margin="10,3" VerticalContentAlignment="Center" FontSize="18" IsEditable="True"/>
            <Button Grid.Row="1" Grid.Column="1" Name="connectButton" Margin="10,3" Style="{DynamicResource GlassButton}" Foreground="#FFFFFFFF">Connect</Button>

            <ComboBox Grid.Row="2" Grid.Column="0" Name="projectsAvailableComboBox" Margin="10,3" IsEditable="True" FontSize="18" />
            <Button Grid.Row="2" Grid.Column="1" Name="refreshButton" Margin="10,3" Style="{DynamicResource GlassButton}" Foreground="#FFFFFFFF">Refresh</Button>

            <Button Grid.Row="3" Grid.ColumnSpan="2" Name="joinButton" Style="{DynamicResource GlassButton}" Foreground="#FFFFFFFF" Margin="10,3">Join meeting</Button>

            <Border Margin="15,3" CornerRadius="10" Background="Transparent" Grid.Row="4" Grid.ColumnSpan="2" BorderBrush="DarkGray" BorderThickness="2">
                <StatusBar Name="statusBar" Width="750" Height="30" Background="Transparent" IsHitTestVisible="False"/>
            </Border>
        </Grid>
    </Border>
    
</UserControl>
